package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.SmsLog;
import org.apache.ibatis.annotations.Param;

/**
 * @author yami
 */
public interface SmsLogMapper extends BaseMapper<SmsLog> {

    /**
     * 失效短信记录
     * @param mobile 电话号码
     * @param type 类型
     */
    void invalidSmsByMobileAndType(@Param("mobile") String mobile, @Param("type") Integer type);
}
